package com.hean.activity;


import java.util.Random;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class android extends Activity {
	private TextView textView;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        textView.findViewById(R.id.hean);
        textView.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				Random random=new Random();
				textView.setTextColor(Color.rgb(random.nextInt(255), random.nextInt(255), random.nextInt(255)));
			}
        	
		});
    }
}